﻿using System;

namespace SpringSeries.Core.ValidationObjectModel {
    public class AddressInfo {
        private string _address = String.Empty;
        public string Address {
            get { return _address; }
            set { _address = value; }
        }

        private string _city = String.Empty;
        public string City {
            get { return _city; }
            set { _city = value; }
        }

        private string _postalCode = String.Empty;
        public string PostalCode {
            get { return _postalCode; }
            set { _postalCode = value; }
        }

        public override string ToString() {
            return String.Format("Address:{0} City:{1} PostalCode:{2}", Address, City, PostalCode);
        }
    }
}
